package com.ywjt.pinkelephant.my.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ywjt.pinkelephant.R;
import com.ywjt.pinkelephant.my.model.ExtendIncome;
import com.ywjt.pinkelephant.my.model.MyMidModel;

import java.util.List;

public class ExtendIncomeAdapter extends BaseQuickAdapter<ExtendIncome, BaseViewHolder> {

    public ExtendIncomeAdapter(@Nullable List<ExtendIncome> data) {
        super(R.layout.item_extend_income, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ExtendIncome item) {
        helper.setText(R.id.tvTitle,item.getTitle());
        helper.setText(R.id.tvPrice,item.getMoney());
    }
}
